projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78888ad
)
modules: Add a check for GTK3 symbols
author
Benjamin Otte
<otte@redhat.com>
Sun, 20 Nov 2016 10:44:19 +0000
(11:44 +0100)
committer
Benjamin Otte
<otte@redhat.com>
Sun, 20 Nov 2016 10:44:19 +0000
(11:44 +0100)
This way, we can warn if GTK2 or GTK3 are linked into libgtk4.
gtk/gtkmodules.c
patch
|
blob
|
history
diff --git
a/gtk/gtkmodules.c
b/gtk/gtkmodules.c
index 93f52c49d811097b1499000c49b0431d72eb513b..e05ffd3ee8b677fb1f1f84e9473fcea6cb1e2ca7 100644
(file)
--- a/
gtk/gtkmodules.c
+++ b/
gtk/gtkmodules.c
@@
-593,6
+593,8
@@
_gtk_module_has_mixed_deps (GModule *module_to_check)
if (g_module_symbol (module, "gtk_progress_get_type", &func))
result = TRUE;
+ else if (g_module_symbol (module, "gtk_misc_get_type", &func))
+ result = TRUE;
else
result = FALSE;